﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using BacteriaSimulation.Simulation;

namespace BacteriaSimulation.GUI
{
    /// <summary>
    /// 
    /// </summary>
    public partial class BacteriumView : UserControl
    {
        public BacteriumView()
        {
            InitializeComponent();
        }

        public void Bacterium_Update(BacteriumUpdateEventArgs args)
        {

        }

        public void Grow(Double widthIncrement, Double heightIncrement)
        {
            this.Width = internalEllipse.Width += widthIncrement;
            this.Height = internalEllipse.Height += heightIncrement;
        }

        public void AdjustSize(Double width, Double height)
        {
            this.Width = internalEllipse.Width = width;
            this.Height = internalEllipse.Height = height;
        }
    }
}
